//==============================================================================
// swordsman_anim.txt
//==============================================================================

//==============================================================================
define SunLight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A God Power Summon Sunlight
      }
   }
}


//==============================================================================
define GroundGlow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A God Power Summon GroundGlow
      }
   }
}

//==============================================================================
define heroglow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Glow Small
      }
   }
}

//==============================================================================
define soul
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul
      }
   }
}

//==============================================================================
define soulaurora
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Aurora
      }
   }
}

//==============================================================================
define heavenlight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Heaven Light
      }
   }
}

//==============================================================================
define soulbirth
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Birth
      }
   }
}

				
//==============================================================================
define EgyptianSword
{
	SetSelector
	{
		set hotspot
		{
			version
			{
                     Visual Attachments c dao sword
			}
		}
	}
}
	
//==============================================================================
define RattanShield
{
   SetSelector
   {
			set hotspot
			{
				version
				{
					visual Attachments G Shield Large Iron
					ReplaceTexture Attachments G Shield Copper/Attachments C Rattan Shield
				}
			}
		}
	}
}
			
//==============================================================================
define Head
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual villager e male head
				ReplaceTexture villager e male head/Hou Jin Head
			}
		}
	}
}

//==============================================================================
define Shield
{
	SetSelector
	{
		set hotspot
		{
			version
			{
					visual Attachments G Shield Wood
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		ContainLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual Infantry E Khopesh_IdleA
				ReplaceTexture Infantry E Khopesh Standard/infantry c rattanshield standard
				connect RightHand EgyptianSword hotspot
				connect LeftForearm RattanShield hotspot
				connect TopOfHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Hero C Immortal_CarryIdlea
					ReplaceTexture hero c immortal/infantry c rattanshield standard
					length 2.0
					Connect FRONTABDOMEN heroglow hotspot
					Connect TOPOFHEAD head hotspot
					connect RightHand EgyptianSword hotspot
				    connect LeftForearm RattanShield hotspot
				}
			}
		}
	}
}
//==============================================================================
anim Walk
{
	SetSelector
	{
		ContainLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual Infantry E Khopesh_WalkA
				ReplaceTexture Infantry E Khopesh Standard/infantry c rattanshield standard
				length 1.0
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.25 true	
				tag FootstepRight 0.80 true	
//-- end auto generated section
				connect RightHand EgyptianSword hotspot
				connect LeftForearm RattanShield hotspot
				connect TopOfHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Hero C Immortal_CarryA
					ReplaceTexture hero c immortal/infantry c rattanshield standard
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag FootstepLeft 0.30 true	
					tag FootstepRight 0.80 true	
//-- end auto generated section
					Connect FRONTABDOMEN heroglow hotspot
					Connect TOPOFHEAD head hotspot
					connect RightHand EgyptianSword hotspot
				    connect LeftForearm RattanShield hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual Infantry E Khopesh_AttackA
				ReplaceTexture Infantry E Khopesh Standard/infantry c rattanshield standard
				length 1.0
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.53 true	
				tag GenericSound 0.40 true	
//-- end auto generated section
				connect RightHand EgyptianSword hotspot
				connect LeftForearm RattanShield hotspot
				connect TopOfHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot

         }
      }
   }
}

//==============================================================================
anim Death
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual Infantry E Khopesh_DeathA
				ReplaceTexture Infantry E Khopesh Standard/infantry c rattanshield standard
			//-- auto generated by the bang animation tool
			//-- do not hand edit these values
			tag SpecificSoundSet 0.00 false AHeroHasFallen  checkOwner
			//-- end auto generated section
				connect RightHand EgyptianSword hotspot
				connect LeftForearm RattanShield hotspot
				connect TopOfHead Head hotspot
				connect ATTACHPOINT soul hotspot
				connect ATTACHPOINT soulaurora hotspot
				connect ATTACHPOINT heavenlight hotspot
				connect ATTACHPOINT soulbirth hotspot
				Connect FRONTABDOMEN heroglow hotspot

			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		ContainLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual Infantry E Khopesh_boredA
				ReplaceTexture Infantry E Khopesh Standard/infantry c rattanshield standard
				connect RightHand EgyptianSword hotspot
				connect LeftForearm RattanShield hotspot
				connect TopOfHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Hero C Immortal_CarryBoredA
					ReplaceTexture hero c immortal/infantry c rattanshield standard
					Connect FRONTABDOMEN heroglow hotspot
					Connect TOPOFHEAD head hotspot
					connect RightHand EgyptianSword hotspot
				    connect LeftForearm RattanShield hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Flail
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual Infantry E Khopesh_FlailA
				ReplaceTexture Infantry E Khopesh Standard/infantry c rattanshield standard
				connect RightHand EgyptianSword hotspot
				connect LeftForearm RattanShield hotspot
				connect TopOfHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot

			}
		}
	}
}
